<?php

namespace backend\assets;

use yii\web\AssetBundle;
use yii\web\View;

/**
 * Main backend application asset bundle.
 */
class AppAsset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public $css = [
        'static/h-ui/css/H-ui.min.css',
        'static/h-ui.admin/css/style.css',
        'lib/Hui-iconfont/1.0.8/iconfont.css',
    ];
    public $js = [
        'lib/jquery/1.9.1/jquery.min.js',
        'lib/layer/2.4/layer.js',
        'lib/jquery.validation/1.14.0/jquery.validate.js',
        'lib/jquery.validation/1.14.0/validate-methods.js',
        'lib/jquery.validation/1.14.0/messages_zh.js',
        'static/h-ui/js/H-ui.min.js',
        'static/h-ui.admin/js/H-ui.admin.js',
        ['lib/html5shiv.js', 'condition' => 'lte IE9', 'position' => View::POS_HEAD],
        ['lib/html5shiv.js', 'condition' => 'lte IE9', 'position' => View::POS_HEAD],
    ];
    public $depends = [
        'yii\web\YiiAsset',
    ];
}
